fs = require 'fs'
path = require 'path' 
fs.readdir process.argv[2],(err,list) ->
	for file in list
		console.log file if (path.extname file) is '.'+process.argv[3]  